home *** CD-ROM | disk | FTP | other *** search
/ EnigmA Amiga Run 1995 November / EnigmA AMIGA RUN 02 (1995)(G.R. Edizioni)(IT)[!][issue 1995-11][Skylink CD].iso / earcd / util / text / frexxedv.lha / FrexxEdpatch / fpl / LoadSaveProject.FPL.README < prev    next >
Text File  |  1995-09-25  |  2KB  |  50 lines

  1. ############################################
  2. File: LoadSaveProject.FPL
  3. Author: Mathias Axelsson
  4. Email: max@coders.ct.se  matax@lysator.liu.se
  5.        Fidonet: 2:204/211.0
  6. Short description: Loads/saves the project file
  7. Version: 1.3
  8. Date: 25.9.95
  9. Local settings:
  10. Global settings:
  11. Keysequence:
  12.        LoadProject: A-P l
  13.        SaveProject: A-P s
  14. Type: Hook
  15. Prereq:
  16. ############################################
  17.  
  18. FUNCTION
  19.   These two functions uses a project file (FrexxEd_Project_File)
  20. to keep track of all open files in the editor. When you save the
  21. project you get a file which contains the x/y position of the
  22. window, the width/height of the window (even though you might be
  23. running on a seperate screen). After that the file contains the full
  24. filenames of all the open files and also the line, byte position and
  25. tab size for each file.
  26.  
  27.   When loading the project file the script open all the files described
  28. in the project file and also sets the line, byte position and tab size.
  29. It also moves the window to the correct position and sets the size of the
  30. window.
  31.  
  32. Install:
  33.   Just add an ExecuteFile("LoadSaveProject"); to the User.FPL file.
  34.  
  35. New for v1.1:
  36.   The script now saves the state the window was in when you saved the
  37. project. This means that it remembers if it should open a screen, window
  38. or backdrop window.
  39.  
  40. New for 1.2:
  41.   It now read the Project_dir info variable to tell were to look for
  42. project files. Just start the script, set it to your project dir in global
  43. settings and save the settings.
  44.  
  45. New for 1.3:
  46.   I fixed some bugs that made the two extra files show up in the project
  47. file. I also fixed so that if you cancel a loading, it will try to reuse
  48. the newly created buffer. If this buffer isn't filled with a file after
  49. all the files in the project file is loaded, it will be killed.
  50.